home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Sep 90 / MacApp.Tech$ 9⁄14⁄90 / 1961-C++ Pure Virtual Fun-Sep90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.0 KB  |  34 lines  |  [TEXT/GEOL]

  1. Item    7365406                         10-Sept-90        19:23PDT
  2.  
  3. From:   LOCKWOOD                        Savitar, Mike Lockwood,PRT
  4.  
  5. To:     MACDTS                          Macintosh Developer Tech Supt
  6.         MACAPP.TECH$                    MacApp Technical
  7.  
  8. Sub:    C++ Pure Virtual Function
  9.  
  10. Attn: Mac Developer Support
  11. Attn: MacApp Tech
  12. SentBy: Bert Sierra
  13. Date   9/10/90
  14. Subject    C++ Pure Virtual Functions
  15. From   Bert Sierra
  16. To Mac Developer Support
  17.    MacApp Tech
  18. CC Eric Hannah
  19.    Mike Lockwood
  20.  
  21. C++ Pure Virtual Functions                     7:00 PM      9/10/90
  22.  
  23. By using pure virtual functions in C++ [Lippman, p. 340], one can
  24. specify that a class is not to be instantiated, but must serve as the
  25. base class for one or more derivations.  Does the MPW C++ compiler
  26. still generate virtual tables for the base class, or is it smart
  27. enough to suppress the tables knowing that they will never be
  28. needed?
  29.  
  30. If C++ emits the virtual tables, will the linker be smart enough
  31. to strip them away since there can never be data references to them?
  32.  
  33.  
  34.